package com.qy.service.impl;

import com.qy.dao.CommentMapper;
import com.qy.model.Charge;
import com.qy.model.Comment;
import com.qy.model.Policy;
import com.qy.model.Unit;
import com.qy.service.CommentService;
import com.qy.base.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


/**
 * Created by zaq on 2018/07/10.
 */
@Service
@Transactional
public class CommentServiceImpl extends AbstractService<Comment> implements CommentService {
    @Resource
    private CommentMapper qyCommentMapper;

    @Override
    public List<Map> selectPolicyCommentLabel(Comment comment) {
        return qyCommentMapper.selectPolicyCommentLabel(comment);
    }

    @Override
    public List<Map> selectUnitCommentLabel(Comment comment) {
        return qyCommentMapper.selectUnitCommentLabel(comment);
    }

    @Override
    public List<Map> selectChargeCommentLabel(Comment comment) {
        return qyCommentMapper.selectChargeCommentLabel(comment);
    }

    @Override
    public List<Map> selectPolicyCommentList(Comment comment) {
        return qyCommentMapper.selectPolicyCommentList(comment);
    }

    @Override
    public List<Map> selectUnitCommentList(Comment comment) {
        return qyCommentMapper.selectUnitCommentList(comment);
    }

    @Override
    public List<Map> selectChargeCommentList(Comment comment) {
        return qyCommentMapper.selectChargeCommentList(comment);
    }

    @Override
    public List<Map> commentLabel() {
        return qyCommentMapper.commentLabel();
    }

    @Override
    public List<Map> commentList(Comment comment) {
        return qyCommentMapper.commentList(comment);
    }
}
